package com.xziying.appstore.plugIn.domain;

/**
 * PlugInInfo 插件信息
 *
 * @author : xziying
 * @create : 2021-03-21 17:09
 */
public class PlugInInfo {
    String name;    // 插件名
    String author;  // 作者
    String version;    // 版本号
    Integer versionNum; // 版本数字
    String synopsis;   // 简介
    String clazz;

    public PlugInInfo(String name, String author, String version, Integer versionNum) {
        this.name = name;
        this.author = author;
        this.version = version;
        this.versionNum = versionNum;
    }

    public PlugInInfo(String name, String author, String version, Integer versionNum, String synopsis) {
        this.name = name;
        this.author = author;
        this.version = version;
        this.versionNum = versionNum;
        this.synopsis = synopsis;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public Integer getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(Integer versionNum) {
        this.versionNum = versionNum;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "PlugInInfo{" +
                "name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", version='" + version + '\'' +
                ", synopsis='" + synopsis + '\'' +
                '}';
    }
}
